package com.trkj.dao.jpa;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import com.trkj.pojos.YzrPharInstock;

public interface IYzrPharInstockDAO extends CrudRepository<YzrPharInstock, String> {

	@Query("select max(ypi.pharInstockId) from YzrPharInstock ypi where ypi.pharInstockId like ?1%")
	public String findMaxId(String a);
}
